import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'index',
      component: require('@/components/index').default
    },
    {
      path: '/Hi',
      name: 'Hi',
      component: require('@/components/Hi').default
    },
    {
      path: '/List',
      name: 'Lover',
      component: require('@/components/Lover').default
    },
    // {
    //   path: '/',
    //   name: 'landing-page',
    //   component: require('@/components/LandingPage').default
    // },
    {
      path: '/Detail',
      name: 'Detail',
      component: require('@/components/Detail').default
    },
    {
      path: '*',
      redirect: '/'
    }
  ]
})
